package com.cn.kehong.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductDianciRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductDianciRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBanCiIsNull() {
            addCriterion("ban_ci is null");
            return (Criteria) this;
        }

        public Criteria andBanCiIsNotNull() {
            addCriterion("ban_ci is not null");
            return (Criteria) this;
        }

        public Criteria andBanCiEqualTo(String value) {
            addCriterion("ban_ci =", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiNotEqualTo(String value) {
            addCriterion("ban_ci <>", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiGreaterThan(String value) {
            addCriterion("ban_ci >", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiGreaterThanOrEqualTo(String value) {
            addCriterion("ban_ci >=", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiLessThan(String value) {
            addCriterion("ban_ci <", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiLessThanOrEqualTo(String value) {
            addCriterion("ban_ci <=", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiLike(String value) {
            addCriterion("ban_ci like", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiNotLike(String value) {
            addCriterion("ban_ci not like", value, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiIn(List<String> values) {
            addCriterion("ban_ci in", values, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiNotIn(List<String> values) {
            addCriterion("ban_ci not in", values, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiBetween(String value1, String value2) {
            addCriterion("ban_ci between", value1, value2, "banCi");
            return (Criteria) this;
        }

        public Criteria andBanCiNotBetween(String value1, String value2) {
            addCriterion("ban_ci not between", value1, value2, "banCi");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNull() {
            addCriterion("duty_day is null");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNotNull() {
            addCriterion("duty_day is not null");
            return (Criteria) this;
        }

        public Criteria andDutyDayEqualTo(String value) {
            addCriterion("duty_day =", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotEqualTo(String value) {
            addCriterion("duty_day <>", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThan(String value) {
            addCriterion("duty_day >", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThanOrEqualTo(String value) {
            addCriterion("duty_day >=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThan(String value) {
            addCriterion("duty_day <", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThanOrEqualTo(String value) {
            addCriterion("duty_day <=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLike(String value) {
            addCriterion("duty_day like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotLike(String value) {
            addCriterion("duty_day not like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIn(List<String> values) {
            addCriterion("duty_day in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotIn(List<String> values) {
            addCriterion("duty_day not in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayBetween(String value1, String value2) {
            addCriterion("duty_day between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotBetween(String value1, String value2) {
            addCriterion("duty_day not between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andReportUserNameIsNull() {
            addCriterion("report_user_name is null");
            return (Criteria) this;
        }

        public Criteria andReportUserNameIsNotNull() {
            addCriterion("report_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andReportUserNameEqualTo(String value) {
            addCriterion("report_user_name =", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameNotEqualTo(String value) {
            addCriterion("report_user_name <>", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameGreaterThan(String value) {
            addCriterion("report_user_name >", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("report_user_name >=", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameLessThan(String value) {
            addCriterion("report_user_name <", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameLessThanOrEqualTo(String value) {
            addCriterion("report_user_name <=", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameLike(String value) {
            addCriterion("report_user_name like", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameNotLike(String value) {
            addCriterion("report_user_name not like", value, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameIn(List<String> values) {
            addCriterion("report_user_name in", values, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameNotIn(List<String> values) {
            addCriterion("report_user_name not in", values, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameBetween(String value1, String value2) {
            addCriterion("report_user_name between", value1, value2, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andReportUserNameNotBetween(String value1, String value2) {
            addCriterion("report_user_name not between", value1, value2, "reportUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameIsNull() {
            addCriterion("sure_user_name is null");
            return (Criteria) this;
        }

        public Criteria andSureUserNameIsNotNull() {
            addCriterion("sure_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andSureUserNameEqualTo(String value) {
            addCriterion("sure_user_name =", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameNotEqualTo(String value) {
            addCriterion("sure_user_name <>", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameGreaterThan(String value) {
            addCriterion("sure_user_name >", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("sure_user_name >=", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameLessThan(String value) {
            addCriterion("sure_user_name <", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameLessThanOrEqualTo(String value) {
            addCriterion("sure_user_name <=", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameLike(String value) {
            addCriterion("sure_user_name like", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameNotLike(String value) {
            addCriterion("sure_user_name not like", value, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameIn(List<String> values) {
            addCriterion("sure_user_name in", values, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameNotIn(List<String> values) {
            addCriterion("sure_user_name not in", values, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameBetween(String value1, String value2) {
            addCriterion("sure_user_name between", value1, value2, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andSureUserNameNotBetween(String value1, String value2) {
            addCriterion("sure_user_name not between", value1, value2, "sureUserName");
            return (Criteria) this;
        }

        public Criteria andDianciCodeIsNull() {
            addCriterion("dianci_code is null");
            return (Criteria) this;
        }

        public Criteria andDianciCodeIsNotNull() {
            addCriterion("dianci_code is not null");
            return (Criteria) this;
        }

        public Criteria andDianciCodeEqualTo(String value) {
            addCriterion("dianci_code =", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotEqualTo(String value) {
            addCriterion("dianci_code <>", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeGreaterThan(String value) {
            addCriterion("dianci_code >", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeGreaterThanOrEqualTo(String value) {
            addCriterion("dianci_code >=", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeLessThan(String value) {
            addCriterion("dianci_code <", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeLessThanOrEqualTo(String value) {
            addCriterion("dianci_code <=", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeLike(String value) {
            addCriterion("dianci_code like", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotLike(String value) {
            addCriterion("dianci_code not like", value, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeIn(List<String> values) {
            addCriterion("dianci_code in", values, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotIn(List<String> values) {
            addCriterion("dianci_code not in", values, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeBetween(String value1, String value2) {
            addCriterion("dianci_code between", value1, value2, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andDianciCodeNotBetween(String value1, String value2) {
            addCriterion("dianci_code not between", value1, value2, "dianciCode");
            return (Criteria) this;
        }

        public Criteria andOilIsNull() {
            addCriterion("oil is null");
            return (Criteria) this;
        }

        public Criteria andOilIsNotNull() {
            addCriterion("oil is not null");
            return (Criteria) this;
        }

        public Criteria andOilEqualTo(String value) {
            addCriterion("oil =", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilNotEqualTo(String value) {
            addCriterion("oil <>", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilGreaterThan(String value) {
            addCriterion("oil >", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilGreaterThanOrEqualTo(String value) {
            addCriterion("oil >=", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilLessThan(String value) {
            addCriterion("oil <", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilLessThanOrEqualTo(String value) {
            addCriterion("oil <=", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilLike(String value) {
            addCriterion("oil like", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilNotLike(String value) {
            addCriterion("oil not like", value, "oil");
            return (Criteria) this;
        }

        public Criteria andOilIn(List<String> values) {
            addCriterion("oil in", values, "oil");
            return (Criteria) this;
        }

        public Criteria andOilNotIn(List<String> values) {
            addCriterion("oil not in", values, "oil");
            return (Criteria) this;
        }

        public Criteria andOilBetween(String value1, String value2) {
            addCriterion("oil between", value1, value2, "oil");
            return (Criteria) this;
        }

        public Criteria andOilNotBetween(String value1, String value2) {
            addCriterion("oil not between", value1, value2, "oil");
            return (Criteria) this;
        }

        public Criteria andDianYaIsNull() {
            addCriterion("dian_ya is null");
            return (Criteria) this;
        }

        public Criteria andDianYaIsNotNull() {
            addCriterion("dian_ya is not null");
            return (Criteria) this;
        }

        public Criteria andDianYaEqualTo(String value) {
            addCriterion("dian_ya =", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaNotEqualTo(String value) {
            addCriterion("dian_ya <>", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaGreaterThan(String value) {
            addCriterion("dian_ya >", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaGreaterThanOrEqualTo(String value) {
            addCriterion("dian_ya >=", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaLessThan(String value) {
            addCriterion("dian_ya <", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaLessThanOrEqualTo(String value) {
            addCriterion("dian_ya <=", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaLike(String value) {
            addCriterion("dian_ya like", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaNotLike(String value) {
            addCriterion("dian_ya not like", value, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaIn(List<String> values) {
            addCriterion("dian_ya in", values, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaNotIn(List<String> values) {
            addCriterion("dian_ya not in", values, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaBetween(String value1, String value2) {
            addCriterion("dian_ya between", value1, value2, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianYaNotBetween(String value1, String value2) {
            addCriterion("dian_ya not between", value1, value2, "dianYa");
            return (Criteria) this;
        }

        public Criteria andDianLiuIsNull() {
            addCriterion("dian_liu is null");
            return (Criteria) this;
        }

        public Criteria andDianLiuIsNotNull() {
            addCriterion("dian_liu is not null");
            return (Criteria) this;
        }

        public Criteria andDianLiuEqualTo(String value) {
            addCriterion("dian_liu =", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuNotEqualTo(String value) {
            addCriterion("dian_liu <>", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuGreaterThan(String value) {
            addCriterion("dian_liu >", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuGreaterThanOrEqualTo(String value) {
            addCriterion("dian_liu >=", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuLessThan(String value) {
            addCriterion("dian_liu <", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuLessThanOrEqualTo(String value) {
            addCriterion("dian_liu <=", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuLike(String value) {
            addCriterion("dian_liu like", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuNotLike(String value) {
            addCriterion("dian_liu not like", value, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuIn(List<String> values) {
            addCriterion("dian_liu in", values, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuNotIn(List<String> values) {
            addCriterion("dian_liu not in", values, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuBetween(String value1, String value2) {
            addCriterion("dian_liu between", value1, value2, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andDianLiuNotBetween(String value1, String value2) {
            addCriterion("dian_liu not between", value1, value2, "dianLiu");
            return (Criteria) this;
        }

        public Criteria andYouWenIsNull() {
            addCriterion("you_wen is null");
            return (Criteria) this;
        }

        public Criteria andYouWenIsNotNull() {
            addCriterion("you_wen is not null");
            return (Criteria) this;
        }

        public Criteria andYouWenEqualTo(String value) {
            addCriterion("you_wen =", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenNotEqualTo(String value) {
            addCriterion("you_wen <>", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenGreaterThan(String value) {
            addCriterion("you_wen >", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenGreaterThanOrEqualTo(String value) {
            addCriterion("you_wen >=", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenLessThan(String value) {
            addCriterion("you_wen <", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenLessThanOrEqualTo(String value) {
            addCriterion("you_wen <=", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenLike(String value) {
            addCriterion("you_wen like", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenNotLike(String value) {
            addCriterion("you_wen not like", value, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenIn(List<String> values) {
            addCriterion("you_wen in", values, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenNotIn(List<String> values) {
            addCriterion("you_wen not in", values, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenBetween(String value1, String value2) {
            addCriterion("you_wen between", value1, value2, "youWen");
            return (Criteria) this;
        }

        public Criteria andYouWenNotBetween(String value1, String value2) {
            addCriterion("you_wen not between", value1, value2, "youWen");
            return (Criteria) this;
        }

        public Criteria andFenjiProductIsNull() {
            addCriterion("fenji_product is null");
            return (Criteria) this;
        }

        public Criteria andFenjiProductIsNotNull() {
            addCriterion("fenji_product is not null");
            return (Criteria) this;
        }

        public Criteria andFenjiProductEqualTo(String value) {
            addCriterion("fenji_product =", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductNotEqualTo(String value) {
            addCriterion("fenji_product <>", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductGreaterThan(String value) {
            addCriterion("fenji_product >", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductGreaterThanOrEqualTo(String value) {
            addCriterion("fenji_product >=", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductLessThan(String value) {
            addCriterion("fenji_product <", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductLessThanOrEqualTo(String value) {
            addCriterion("fenji_product <=", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductLike(String value) {
            addCriterion("fenji_product like", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductNotLike(String value) {
            addCriterion("fenji_product not like", value, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductIn(List<String> values) {
            addCriterion("fenji_product in", values, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductNotIn(List<String> values) {
            addCriterion("fenji_product not in", values, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductBetween(String value1, String value2) {
            addCriterion("fenji_product between", value1, value2, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andFenjiProductNotBetween(String value1, String value2) {
            addCriterion("fenji_product not between", value1, value2, "fenjiProduct");
            return (Criteria) this;
        }

        public Criteria andPaiZaIsNull() {
            addCriterion("pai_za is null");
            return (Criteria) this;
        }

        public Criteria andPaiZaIsNotNull() {
            addCriterion("pai_za is not null");
            return (Criteria) this;
        }

        public Criteria andPaiZaEqualTo(String value) {
            addCriterion("pai_za =", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaNotEqualTo(String value) {
            addCriterion("pai_za <>", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaGreaterThan(String value) {
            addCriterion("pai_za >", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaGreaterThanOrEqualTo(String value) {
            addCriterion("pai_za >=", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaLessThan(String value) {
            addCriterion("pai_za <", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaLessThanOrEqualTo(String value) {
            addCriterion("pai_za <=", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaLike(String value) {
            addCriterion("pai_za like", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaNotLike(String value) {
            addCriterion("pai_za not like", value, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaIn(List<String> values) {
            addCriterion("pai_za in", values, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaNotIn(List<String> values) {
            addCriterion("pai_za not in", values, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaBetween(String value1, String value2) {
            addCriterion("pai_za between", value1, value2, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaNotBetween(String value1, String value2) {
            addCriterion("pai_za not between", value1, value2, "paiZa");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentIsNull() {
            addCriterion("pai_za_percent is null");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentIsNotNull() {
            addCriterion("pai_za_percent is not null");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentEqualTo(String value) {
            addCriterion("pai_za_percent =", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentNotEqualTo(String value) {
            addCriterion("pai_za_percent <>", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentGreaterThan(String value) {
            addCriterion("pai_za_percent >", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentGreaterThanOrEqualTo(String value) {
            addCriterion("pai_za_percent >=", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentLessThan(String value) {
            addCriterion("pai_za_percent <", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentLessThanOrEqualTo(String value) {
            addCriterion("pai_za_percent <=", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentLike(String value) {
            addCriterion("pai_za_percent like", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentNotLike(String value) {
            addCriterion("pai_za_percent not like", value, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentIn(List<String> values) {
            addCriterion("pai_za_percent in", values, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentNotIn(List<String> values) {
            addCriterion("pai_za_percent not in", values, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentBetween(String value1, String value2) {
            addCriterion("pai_za_percent between", value1, value2, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andPaiZaPercentNotBetween(String value1, String value2) {
            addCriterion("pai_za_percent not between", value1, value2, "paiZaPercent");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNull() {
            addCriterion("factory_name is null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIsNotNull() {
            addCriterion("factory_name is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryNameEqualTo(String value) {
            addCriterion("factory_name =", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotEqualTo(String value) {
            addCriterion("factory_name <>", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThan(String value) {
            addCriterion("factory_name >", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameGreaterThanOrEqualTo(String value) {
            addCriterion("factory_name >=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThan(String value) {
            addCriterion("factory_name <", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLessThanOrEqualTo(String value) {
            addCriterion("factory_name <=", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameLike(String value) {
            addCriterion("factory_name like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotLike(String value) {
            addCriterion("factory_name not like", value, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameIn(List<String> values) {
            addCriterion("factory_name in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotIn(List<String> values) {
            addCriterion("factory_name not in", values, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameBetween(String value1, String value2) {
            addCriterion("factory_name between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andFactoryNameNotBetween(String value1, String value2) {
            addCriterion("factory_name not between", value1, value2, "factoryName");
            return (Criteria) this;
        }

        public Criteria andDianRoomIsNull() {
            addCriterion("dian_room is null");
            return (Criteria) this;
        }

        public Criteria andDianRoomIsNotNull() {
            addCriterion("dian_room is not null");
            return (Criteria) this;
        }

        public Criteria andDianRoomEqualTo(String value) {
            addCriterion("dian_room =", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomNotEqualTo(String value) {
            addCriterion("dian_room <>", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomGreaterThan(String value) {
            addCriterion("dian_room >", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomGreaterThanOrEqualTo(String value) {
            addCriterion("dian_room >=", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomLessThan(String value) {
            addCriterion("dian_room <", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomLessThanOrEqualTo(String value) {
            addCriterion("dian_room <=", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomLike(String value) {
            addCriterion("dian_room like", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomNotLike(String value) {
            addCriterion("dian_room not like", value, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomIn(List<String> values) {
            addCriterion("dian_room in", values, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomNotIn(List<String> values) {
            addCriterion("dian_room not in", values, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomBetween(String value1, String value2) {
            addCriterion("dian_room between", value1, value2, "dianRoom");
            return (Criteria) this;
        }

        public Criteria andDianRoomNotBetween(String value1, String value2) {
            addCriterion("dian_room not between", value1, value2, "dianRoom");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}